package com.his.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.his.bean.DzmHisPrescriptionExtracharges;
import com.his.mapper.DzmHisInspectionfeeMapper;
import com.his.service.DzmHisPrescriptionExtrachargesService;
import com.his.mapper.DzmHisPrescriptionExtrachargesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
*
*/
@Service
public class DzmHisPrescriptionExtrachargesServiceImpl extends ServiceImpl<DzmHisPrescriptionExtrachargesMapper, DzmHisPrescriptionExtracharges>
implements DzmHisPrescriptionExtrachargesService{

    @Autowired
    DzmHisPrescriptionExtrachargesMapper DzmHisPrescriptionExtrachargesMapper;


    @Override
    public List<Map> listInfo3(DzmHisPrescriptionExtracharges dzmHisPrescriptionExtracharges) {
        return DzmHisPrescriptionExtrachargesMapper.listInfo3(dzmHisPrescriptionExtracharges);
    }

    @Override
    public int addInfo3(DzmHisPrescriptionExtracharges dzmHisPrescriptionExtracharges) {
        return DzmHisPrescriptionExtrachargesMapper.addInfo3(dzmHisPrescriptionExtracharges);
    }

    @Override
    public int delInfo3(String preId) {
        return DzmHisPrescriptionExtrachargesMapper.delInfo3(preId);
    }

    @Override
    public List selectByIdInfo3(String pre_id) {
        return DzmHisPrescriptionExtrachargesMapper.selectByIdInfo3(pre_id);
    }

    @Override
    public int updateInfo3(Map map) {
        int updateInfo = DzmHisPrescriptionExtrachargesMapper.updateInfo3(map);
        return updateInfo;
    }
}
